package com.zf.zf_demo;

import com.zf.zf_demo.dao.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Controller {
    @GetMapping("/hello")
    public String hello(){
        return "你好 springboot!";
    }
    @GetMapping("/hello1")
    public List<String> hello1(){
        return List.of("曾锋","21045414");
    }


}
